package com.gz.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @TableName t_book_collection
 */
@TableName(value ="t_book_collection")
@Data
public class BookCollection {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private Long userId;

    private Long bookId;
    public BookCollection( Long userId, Long bookId) {
        this.userId = userId;
        this.bookId = bookId;
    }

}